package com.xiege.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 榭歌
 * @since 2023-04-02
 */
@Getter
@Setter
  @ApiModel(value = "Collection对象", description = "")
public class Collection implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("收藏id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("收藏用户id")
      private Integer userId;

      @ApiModelProperty("收藏文章id")
      private Integer articleId;

      @ApiModelProperty("收藏路线id")
      private Integer wayId;

      @ApiModelProperty("收藏景点id")
      private Integer sceneryId;

      @ApiModelProperty("收藏时间")
      private String time;


}
